package com.usian.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.article.dtos.ArticleHomeDto;
import com.usian.model.article.pojos.ApArticle;
import com.usian.model.common.dtos.ResponseResult;

public interface ApArticleService extends IService<ApArticle> {

    /**
     * 添加
     * @param apArticle
     * @return
     */
    public ApArticle saveArticle(ApArticle apArticle);

    /**
     * 根据文章id查询
     * @param id
     * @return
     */
    ApArticle findById(Long id);


}